package cc.lj.internal.payment.domain.settlement.vo.convert;

import cc.lj.internal.payment.domain.settlement.vo.CouponsCapLogDO;
import cc.lj.internal.payment.domain.settlement.vo.CouponsSubsidyDO;
import cc.lj.internal.payment.infrastructure.po.CouponsCapLogPO;
import cc.lj.internal.payment.infrastructure.po.CouponsSubsidyPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 电子券封顶额计算日志表 PO 与 DO之间转换
 * @author liangxifeng
 * @date 2022-10-23
 */
@Mapper
public interface CouponsCapLogPOConvertDO {
    CouponsCapLogPOConvertDO INSTANCE = Mappers.getMapper(CouponsCapLogPOConvertDO.class);
    //do to po
    CouponsCapLogPO convert(CouponsCapLogDO logDO);

    //po to do
    CouponsCapLogDO convert(CouponsCapLogPO logPO);
}
